﻿#include "abstractplayer.h"

#include <QtGlobal>

#include "implementor.h"

AbstractPlayer::AbstractPlayer(Implementor* implement)
{
    m_implement = implement;
}

AbstractPlayer::~AbstractPlayer()
{
    if (m_implement != Q_NULLPTR) {
        delete m_implement;
        m_implement = Q_NULLPTR;
    }
}
